package com.educate.device.dao;

import com.educate.device.dao.impl.UpdatePackDaoImpl;
import com.educate.device.model.bo.UpdatePackBO;
import com.educate.device.model.po.UpdatePack;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpdatePackDao extends MongoRepository<UpdatePack, String> {

    /**
     * #{@link UpdatePackDaoImpl#query(UpdatePackBO, Pageable)}
     */
    Page<UpdatePack> query(UpdatePackBO bo, Pageable pageable);
}
